package com.hbt.chat.acciones;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import com.hbt.chat.gui.GUIServidor;

public class AccionesServidor implements ActionListener{

	public GUIServidor guiServidor;
	
	public AccionesServidor(GUIServidor guiServidor) {
		this.guiServidor=guiServidor;
	}
	
	@Override
	public void actionPerformed(ActionEvent e) {
		if (e.getSource().equals(guiServidor.salir)) {
			guiServidor.dispose();
		}
	}
}